﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using ARSys.Connector;

namespace ARSys.Entity
{
    [Table("CTM_Support_Group_Association")]
    [ARForm("CTM:Support Group Association")]
    public class PGAssociation
    {
        [Key]
        [AREntryId]
        [Column("Support_Group_Association_ID")]
        public string PGId { get; set; }

        [Column("Person_ID")]
        [ARField(1000000080, ARSysProxy.C_AR_DATA_TYPE_CHAR)]
        public string PeopleId { get; set; }

        [Column("Support_Group_ID")]
        [ARField(1000000079, ARSysProxy.C_AR_DATA_TYPE_CHAR)]
        public string GroupId { get; set; }

        [NotMapped]
        [ARField(4, ARSysProxy.C_AR_DATA_TYPE_CHAR)]
        public string Alias { get; set; }

        [NotMapped]
        [ARField(1000000017, ARSysProxy.C_AR_DATA_TYPE_CHAR)]
        public string FullName { get; set; }
 
        [NotMapped]
        [ARField(1000000401, ARSysProxy.C_AR_DATA_TYPE_CHAR)]
        public string Role { get; set; }
   }
}